using System;
using System.Collections.Generic;
using System.Text;

namespace Deepcode.Flux.Core.Systems.CMS
{
	/// <summary>
	/// Represents a single field of information in the data
	/// </summary>
	public class ContentObjectDataField
	{
		// Field properties
		protected string _FieldName = "";
		protected string _FieldValue = "";

		// Public properties
		public string FieldName{ get{ return _FieldName; } set{ _FieldName = value; }}
		public string FieldValue{ get{ return _FieldValue; } set{ _FieldValue = value; }}

		/// <summary>
		/// Default constructor
		/// </summary>
		public ContentObjectDataField()
		{
		}

		/// <summary>
		/// Constructor, populating data
		/// </summary>
		/// <param name="fieldName"></param>
		/// <param name="fieldValue"></param>
		public ContentObjectDataField( string fieldName, string fieldValue )
		{
			_FieldName = fieldName;
			_FieldValue = fieldValue;
		}
	}
}
